<!DOCTYPE html><html lang="zh-CN"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>神鸟纪元的回响</title>
    <script src="https://code.iconify.design/3/3.1.1/iconify.min.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background-color: #0a1a35;
            color: #fff;
            font-family: 'Microsoft YaHei', sans-serif;
            height: 100vh;
            overflow: hidden;
            position: relative;
        }
        
        /* 舞台背景 */
        .theater-stage {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, #0a1a35 0%, #050d1a 100%);
            z-index: 1;
        }
        
        /* 观众席星光 */
        .audience-stars {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
        }
        
        .star {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            animation: twinkle 3s infinite;
        }
        
        @keyframes twinkle {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 0.8; }
        }
        
        /* 聚光灯效果 */
        .spotlights {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
            pointer-events: none;
        }
        
        .spotlight {
            position: absolute;
            top: -20%;
            left: 50%;
            width: 80%;
            height: 150%;
            transform: translateX(-50%);
            background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
            opacity: 0.8;
            animation: spotlight-pulse 5s infinite alternate;
        }
        
        @keyframes spotlight-pulse {
            0% { opacity: 0.6; }
            100% { opacity: 0.8; }
        }
        
        /* 浮尘粒子效果 */
        .dust-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 4;
            pointer-events: none;
        }
        
        .particle {
            position: absolute;
            background-color: rgba(212, 175, 55, 0.3);
            border-radius: 50%;
            animation: float linear infinite;
        }
        
        @keyframes float {
            to { transform: translateY(-100px); }
        }
        
        /* 主容器 */
        .container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 5;
        }
        
        /* 视频播放区域 */
        .video-container {
            width: 70%;
            position: relative;
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
            border: 1px solid rgba(212, 175, 55, 0.3);
            overflow: hidden;
            border-radius: 4px;
        }
        
        .video-wrapper {
            position: relative;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
        }
        
        video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
        }
        
        /* 占位封面 */
        .video-cover {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #0a1a35, #1a2a45);
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 10;
        }
        
        .play-icon {
            font-size: 100px;
            color: rgba(212, 175, 55, 0.7);
            transition: all 0.3s ease;
        }
        
        .video-cover:hover .play-icon {
            transform: scale(1.1);
            color: rgba(212, 175, 55, 1);
        }
        
        /* 视频标题 */
        .video-title {
            margin-top: 20px;
            font-size: 36px;
            font-family: 'STKaiti', 'KaiTi', serif;
            color: #d4af37;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
            letter-spacing: 2px;
        }
        
        /* 引导文案 */
        .fullscreen-hint {
            position: absolute;
            bottom: 20%;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.6);
            color: #d4af37;
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 16px;
            opacity: 1;
            transition: opacity 1s ease;
            z-index: 20;
        }
        
        .fullscreen-hint.hidden {
            opacity: 0;
        }
        
        /* 返回按钮 */
        .back-button {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(10, 26, 53, 0.7);
            border: 1px solid rgba(212, 175, 55, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 20;
            transition: all 0.3s ease;
        }
        
        .back-button:hover {
            background-color: rgba(10, 26, 53, 0.9);
            border-color: rgba(212, 175, 55, 0.8);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
        }
        
        .back-icon {
            font-size: 30px;
            color: #d4af37;
        }
        
        /* 自定义视频控制条 */
        .custom-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 10px;
            display: flex;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 15;
        }
        
        .video-container:hover .custom-controls {
            opacity: 1;
        }
        
        .play-pause {
            background: none;
            border: none;
            color: #d4af37;
            font-size: 24px;
            cursor: pointer;
            margin-right: 15px;
        }
        
        .progress-container {
            flex-grow: 1;
            height: 5px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            margin-right: 15px;
            cursor: pointer;
            position: relative;
        }
        
        .progress-bar {
            height: 100%;
            background-color: #d4af37;
            border-radius: 3px;
            width: 0%;
        }
        
        .time-display {
            color: #d4af37;
            font-size: 14px;
            min-width: 100px;
        }
        
        .fullscreen-btn {
            background: none;
            border: none;
            color: #d4af37;
            font-size: 20px;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <!-- 舞台背景 -->
    <div class="theater-stage"></div>
    
    <!-- 观众席星光 -->
    <div class="audience-stars" id="stars"></div>
    
    <!-- 聚光灯效果 -->
    <div class="spotlights">
        <div class="spotlight"></div>
    </div>
    
    <!-- 浮尘粒子效果 -->
    <div class="dust-particles" id="dust"></div>
    
    <!-- 主容器 -->
    <div class="container">
        <!-- 返回按钮 -->
        <div class="back-button" id="backButton" onclick="window.location.href='首頁.html'">
            <span class="iconify back-icon" data-icon="ion:arrow-back"></span>
        </div>
        
        <!-- 视频容器 -->
        <div class="video-container">
            <div class="video-wrapper">
                <video id="videoPlayer">
                    <source src="神鸟世界.mp4" type="video/mp4">
                </video>
                
                <!-- 占位封面 -->
                <div class="video-cover" id="videoCover">
                    <span class="iconify play-icon" data-icon="ion:play"></span>
                </div>
                
                <!-- 自定义控制条 -->
                <div class="custom-controls">
                    <button class="play-pause" id="playPause">
                        <span class="iconify" data-icon="ion:play"></span>
                    </button>
                    <div class="progress-container" id="progressContainer">
                        <div class="progress-bar" id="progressBar"></div>
                    </div>
                    <div class="time-display" id="timeDisplay">00:00 / 00:00</div>
                    <button class="fullscreen-btn" id="fullscreenBtn">
                        <span class="iconify" data-icon="ion:expand"></span>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 视频标题 -->
        <div class="video-title">五神鸟：启缘</div>
        
        <!-- 引导文案 -->
        <div class="fullscreen-hint" id="fullscreenHint">全屏观赏，效果更佳</div>
    </div>

    <script>
        // 初始化观众席星光
        function initStars() {
            const starsContainer = document.getElementById('stars');
            const starCount = 200;
            
            for (let i = 0; i < starCount; i++) {
                const star = document.createElement('div');
                star.classList.add('star');
                
                // 随机位置和大小
                const size = Math.random() * 2 + 1;
                star.style.width = `${size}px`;
                star.style.height = `${size}px`;
                star.style.left = `${Math.random() * 100}%`;
                star.style.top = `${Math.random() * 100}%`;
                
                // 随机动画延迟
                star.style.animationDelay = `${Math.random() * 5}s`;
                
                starsContainer.appendChild(star);
            }
        }
        
        // 初始化浮尘粒子
        function initDustParticles() {
            const dustContainer = document.getElementById('dust');
            const particleCount = 50;
            
            for (let i = 0; i < particleCount; i++) {
                const particle = document.createElement('div');
                particle.classList.add('particle');
                
                // 随机位置和大小
                const size = Math.random() * 3 + 1;
                particle.style.width = `${size}px`;
                particle.style.height = `${size}px`;
                particle.style.left = `${Math.random() * 100}%`;
                particle.style.bottom = `-10px`;
                
                // 随机动画
                const duration = Math.random() * 20 + 10;
                particle.style.animationDuration = `${duration}s`;
                particle.style.animationDelay = `${Math.random() * 5}s`;
                
                dustContainer.appendChild(particle);
            }
        }
        
        // 视频播放器功能
        function setupVideoPlayer() {
            const videoPlayer = document.getElementById('videoPlayer');
            const videoCover = document.getElementById('videoCover');
            const playPauseBtn = document.getElementById('playPause');
            const progressBar = document.getElementById('progressBar');
            const progressContainer = document.getElementById('progressContainer');
            const timeDisplay = document.getElementById('timeDisplay');
            const fullscreenBtn = document.getElementById('fullscreenBtn');
            const fullscreenHint = document.getElementById('fullscreenHint');
            
            // 播放/暂停功能
            function togglePlayPause() {
                if (videoPlayer.paused) {
                    videoPlayer.play();
                    playPauseBtn.innerHTML = '<span class="iconify" data-icon="ion:pause"></span>';
                    
                    // 增强聚光灯效果
                    document.querySelector('.spotlight').style.opacity = '0.9';
                    
                    // 隐藏引导文案
                    setTimeout(() => {
                        fullscreenHint.classList.add('hidden');
                    }, 3000);
                } else {
                    videoPlayer.pause();
                    playPauseBtn.innerHTML = '<span class="iconify" data-icon="ion:play"></span>';
                }
            }
            
            // 点击封面开始播放
            videoCover.addEventListener('click', () => {
                videoCover.style.display = 'none';
                togglePlayPause();
            });
            
            // 播放/暂停按钮
            playPauseBtn.addEventListener('click', togglePlayPause);
            
            // 更新进度条
            videoPlayer.addEventListener('timeupdate', () => {
                const percent = (videoPlayer.currentTime / videoPlayer.duration) * 100;
                progressBar.style.width = `${percent}%`;
                
                // 更新时间显示
                const currentMins = Math.floor(videoPlayer.currentTime / 60);
                const currentSecs = Math.floor(videoPlayer.currentTime % 60);
                const durationMins = Math.floor(videoPlayer.duration / 60);
                const durationSecs = Math.floor(videoPlayer.duration % 60);
                
                timeDisplay.textContent = 
                    `${currentMins}:${currentSecs < 10 ? '0' : ''}${currentSecs} / ${durationMins}:${durationSecs < 10 ? '0' : ''}${durationSecs}`;
            });
            
            // 进度条跳转
            progressContainer.addEventListener('click', (e) => {
                const rect = progressContainer.getBoundingClientRect();
                const percent = (e.clientX - rect.left) / rect.width;
                videoPlayer.currentTime = percent * videoPlayer.duration;
            });
            
            // 全屏功能
            fullscreenBtn.addEventListener('click', () => {
                if (videoPlayer.requestFullscreen) {
                    videoPlayer.requestFullscreen();
                } else if (videoPlayer.mozRequestFullScreen) {
                    videoPlayer.mozRequestFullScreen();
                } else if (videoPlayer.webkitRequestFullscreen) {
                    videoPlayer.webkitRequestFullscreen();
                } else if (videoPlayer.msRequestFullscreen) {
                    videoPlayer.msRequestFullscreen();
                }
            });
            
            // 视频结束时重置
            videoPlayer.addEventListener('ended', () => {
                playPauseBtn.innerHTML = '<span class="iconify" data-icon="ion:play"></span>';
                progressBar.style.width = '0%';
            });
        }
        
        // 返回按钮功能
        document.getElementById('backButton').addEventListener('click', () => {
            window.history.back();
        });
        
        // 初始化
        document.addEventListener('DOMContentLoaded', () => {
            initStars();
            initDustParticles();
            setupVideoPlayer();
            
            // 初始化Iconify图标
            if (typeof Iconify !== 'undefined') {
                Iconify.scan();
            }
        });
    </script>

</body></html>